package com.example.myapplication9.week4.jsjf.exceptions;


public class EmptyCollectionException extends RuntimeException
{

    public EmptyCollectionException (String collection)
    {
        super ("The " + collection + " is empty.");
    }//这个是仿照之前的异常写的。
}
